Page({
  data: {
    titleBarHeight: 0,
    statusBarHeight: 0,
    array: [1,2,3,4,5,6]
  },
  onLoad() {
    const {
      titleBarHeight,
      statusBarHeight,
    } = my.getSystemInfoSync();
    this.setData({
      titleBarHeight,
      statusBarHeight,  
    });
  },
});
